home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows1 / envlgo13.zip / ENVELOGO.SMM < prev    next >
INI File  |  1991-11-11  |  5KB  |  351 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     PostScript Printer
  13. [lang]
  14.     1
  15. [desc]
  16.     Prints shaded address to EnvLogo WinApp.
  17.     
  18.     
  19.     
  20.     
  21.     689846539
  22.     15
  23.     638752801
  24.     227
  25.     1
  26.     0
  27.     0
  28.     0
  29.     0
  30.     
  31.     
  32.     
  33.     
  34.     
  35.     
  36.     0
  37. [fopts]
  38.     0
  39.     1
  40.     0
  41.     0
  42. [lnopts]
  43.     2
  44.     Body Text
  45.     1
  46. [docopts]
  47.     5
  48.     2
  49. [tag]
  50.     Body Text
  51.     2
  52.     [fnt]
  53.         Tms Rmn
  54.         240
  55.         0
  56.         49152
  57.     [algn]
  58.         1
  59.         1
  60.         0
  61.         0
  62.         0
  63.     [spc]
  64.         17
  65.         0
  66.         1
  67.         0
  68.         0
  69.         1
  70.         100
  71.     [brk]
  72.         4
  73.     [line]
  74.         8
  75.         0
  76.         1
  77.         0
  78.         1
  79.         1
  80.         1
  81.         10
  82.         10
  83.         1
  84.     [spec]
  85.         0
  86.         0
  87.         
  88.         0
  89.         1
  90.         1
  91.         0
  92.         0
  93.         0
  94.         0
  95.     [nfmt]
  96.         280
  97.         1
  98.         2
  99.         .
  100.         ,
  101.         $
  102.     Body Text
  103.     0
  104.     0
  105. [lay]
  106.     Standard
  107.     513
  108.     [rght]
  109.         15840
  110.         12240
  111.         1
  112.         1440
  113.         1440
  114.         1
  115.         1440
  116.         1440
  117.         0
  118.         1
  119.         0
  120.         1
  121.         1
  122.         1
  123.         1
  124.         1440
  125.         10800
  126.         0
  127.     [hrght]
  128.     [lyfrm]
  129.         1
  130.         11200
  131.         0
  132.         0
  133.         12240
  134.         1440
  135.         0
  136.         1
  137.         3
  138.         1 0 0 0 0 0 0
  139.         0
  140.         0
  141.         1
  142.     [frmlay]
  143.         1440
  144.         12240
  145.         1
  146.         1440
  147.         0
  148.         1
  149.         0
  150.         1440
  151.         0
  152.         1
  153.         0
  154.         1
  155.         1
  156.         1
  157.         1
  158.         1440
  159.         10800
  160.         0
  161.     [txt]
  162. >
  163.     [frght]
  164.     [lyfrm]
  165.         1
  166.         13248
  167.         0
  168.         14400
  169.         12240
  170.         15840
  171.         0
  172.         1
  173.         3
  174.         1 0 0 0 0 0 0
  175.         0
  176.         0
  177.         2
  178.     [frmlay]
  179.         15840
  180.         12240
  181.         1
  182.         1440
  183.         0
  184.         1
  185.         14400
  186.         1440
  187.         0
  188.         1
  189.         0
  190.         1
  191.         1
  192.         1
  193.         1
  194.         1440
  195.         10800
  196.         0
  197.     [txt]
  198. >
  199. [elay]
  200. [l1]
  201.     0
  202. [pg]
  203.     1
  204.     44 0 12 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
  205. [edoc]
  206. <:#279,9360>This Ami Pro 2 macro assists EnveLogo in printing an envelope.  It asks you to select the
  207.  
  208. <:#279,9360>text of the address to which the envelope will be mailed, or uses a pre-selected text range.
  209.  
  210. It then invokes EnveLogo directly, and causes it to load the selected address text from the
  211.  
  212. clipboard.  The envelope is then ready to printer via the EnveLogo Print button.
  213.  
  214. <:#279,9360>
  215.  
  216. <:#279,9360>Caution: This macro wipes out the current clipboard contents.
  217.  
  218. <:#279,9360>
  219.  
  220. <+!>Note:<-!> You must adjust the "Exec" parameter below to point to the location of ENVELOGO.EXE on your system.
  221.  
  222. <:#279,9360>
  223.  
  224. <+!>Note:<-!> You can place a BMP version of the EnveLogo icon into the Ami Pro program directory;
  225.  
  226. it will then be considered a SmartIcon. You can attach this macro to that SmartIcon and then
  227.  
  228. place that icon in your SmartIcon palette.  See: Tools/SmartIcons/Customize.
  229.  
  230.  
  231. <:#279,9360>By: Bill Hinkle, CIS <[>75300,2050]
  232.  
  233. <:#279,9360>
  234.  
  235. <:#279,9360>FUNCTION ENVELOGO()
  236.  
  237. <:#279,9360>
  238.  
  239. <:#279,9360>While CurShade$() = ""
  240.  
  241. <:R1,1,1,720,><:#279,9360>    UserControl("Select the envelope To: address, and then click on Resume...")
  242.  
  243. <:R1,1,1,720,><:#279,9360>Wend
  244.  
  245. <:R1,1,1,720,><:#279,9360>Copy() ' Copy to clipboard
  246.  
  247. <:R><:#279,9360>If AppIsRunning("ENVELOGO") then
  248.  
  249. <:R1,1,1,721,><:#279,9360>    ExecCode = 0
  250.  
  251. <:R1,1,1,721,><:#279,9360>    EnvOK = ActivateApp("ENVELOGO")
  252.  
  253. <:R1,1,1,721,><:#279,9360>    If EnvOK then
  254.  
  255. <:R1,2,1,721,1,1430,><:#279,9360>        EnvOK = AppRestore("ENVELOGO")
  256.  
  257. <:R1,2,1,721,1,1430,><:#279,9360>    endif
  258.  
  259. <:R1,1,1,721,><:#279,9360>else
  260.  
  261. <:R1,1,1,737,>    ExecCode = Exec("D:\windows\apps\envelogo\Envelogo.exe",1)
  262.  
  263. <:R1,2,1,737,1,1463,><:#279,9360>    EnvOK = (ExecCode <;> 32)
  264.  
  265. <:R><:#279,9360>endif
  266.  
  267. <:#279,9360>If not EnvOK then
  268.  
  269. <:R1,1,1,705,><:#279,9360>     Message("Unable to use Envlogo!")
  270.  
  271. <:R1,1,1,705,>else ' give Windows a moment to get the app in gear
  272.  
  273. <:R1,1,1,705,><:#279,9360>    HGWas = HourGlass(1)
  274.  
  275. <:R1,1,1,705,><:#279,9360>    Pause(15)
  276.  
  277. <:R1,1,1,705,><:#279,9360>    HourGlass(HGWas)
  278.  
  279. <:R1,1,1,705,><:#279,9360>    If ExecCode <;> 32 then ' the app isn't running yet
  280.  
  281. <:R1,2,1,705,1,1430,><:#279,9360>        SendKeys("<[>Enter]<[>Tab]<[>Tab]<[>Tab]<[>Tab]<[>Tab]<[>Tab]") ' get past signon screen
  282.  
  283. <:R1,2,1,705,1,1430,><:#279,9360>    endif
  284.  
  285. <:R1,2,1,705,1,1430,><:#279,9360>    ' assume that if the app is already running, it is parked on the Print button
  286.  
  287. <:R1,1,1,705,><:#279,9360>    SendKeys("<[>Tab]<[>Enter]") ' skip Print command & paste address
  288.  
  289. <:R1,1,1,705,><:#279,9360> endif
  290.  
  291. <:R1,1,1,720,><:#279,9360>END FUNCTION
  292.  
  293. >
  294.  
  295. [Embedded]
  296. 00004078
  297. >
  298. [macsum] 1
  299. ENVELOGO 0 0 4 15
  300. [macse]
  301. 14 ENVELOGO
  302. 0 24
  303. 13
  304. 7 ""
  305. 18 0
  306. 11 00000129
  307. 0 7 "Select the envelope To: address, and then click on Resume..."
  308. 10 00000013
  309. 2 154 1
  310. 0 1032 "ENVELOGO"
  311. 13
  312. 11 00000269
  313. 5 0
  314. 8 1
  315. 0 38 "ENVELOGO"
  316. 13
  317. 8 2
  318. 6 2
  319. 11 00000256
  320. 0 1031 "ENVELOGO"
  321. 13
  322. 8 2
  323. 10 00000348
  324. 0 22 "D:\windows\apps\envelogo\Envelogo.exe" 1
  325. 13
  326. 8 1
  327. 6 1
  328. 5 32
  329. 18 3
  330. 8 2
  331. 6 2
  332. 1 3
  333. 11 00000414
  334. 0 3 "Unable to use Envlogo!"
  335. 10 00000532
  336. 0 296 1
  337. 13
  338. 8 3
  339. 0 274 15
  340. 0 296 "{3}"
  341. 6 1
  342. 5 32
  343. 18 3
  344. 11 00000516
  345. 0 36 "[13][9][9][9][9][9][9]"
  346. 0 36 "[9][13]"
  347. 6 0
  348. 15
  349. 9
  350. 00004103
  351.